package ExerciseTwo;

public class Standard {

	public static void main(String[] args) {
		//创建对象
		Standard s = new Standard("石文学",20);
		s.show();

	}
	
	//成员变量
	private String name;
	
	private int age;
	
	//构造方法
	public Standard(String name,int age)
	{
		this.name = name;
		this.age = age;
	}
	
	//成员方法
	public void show()
	{
		System.out.println("name:"+name+"age:"+age);
	}
	
	
}
